import { getStream } from '../Core/connect'

export const OutLine = {
    setOutLine(id: string) {
        const stream = getStream()
        const str = {passFunction: 'setOutLine', ids: `${id}`}
        stream.emitUIInteraction(str)
    },
    removeOutLine(id: string) {
        const stream = getStream()
        const str = {passFunction: 'removeOutLine', ids: `${id}`}
        stream.emitUIInteraction(str)
    }
}